<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title><?php echo empty($title) ? '后台管理' : $title.'_后台管理' ?></title>
	<link href="/houtai/css/style.css" rel="stylesheet" type="text/css" />
    <script src="/js/lib/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
    <!-- <script src="//apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script> -->
    <script src="/houtai/js/date/WdatePicker.js"></script>
    <?php if ( !empty($js) && is_array($js) ): ?>
    	<?php foreach ($js as $v): ?>
    		<script src="<?php echo $v; ?>" type="text/javascript"></script>
    	<?php endforeach; ?>
    <?php endif ?>
    <script type="text/javascript">
    	window.app = (function(window){
    		var app = window.app || {};
    		app.config = app.config || {};
    		app.config.adminDir = "<?php echo ADMIN_DIR; ?>";

    		return app;
    	})(window)
    </script>
</head>
<body>
	<?php if (!empty($placeList) && is_array($placeList)): ?>
		<div class="place">
		    <span>位置：</span>
		    <ul class="placeul">
		    	<?php foreach ($placeList as $v): ?>
		    		<li>
			    		<a href="<?php echo empty($v['link']) ? 'javascript:;' : ADMIN_DIR.'/'.$v['link'] ?>">
			    			<?php echo $v['title']; ?>
			    		</a>
		    		</li>	
		    	<?php endforeach; ?>
		    </ul>
		</div>
	<?php endif; ?>
    